import autoBind from 'auto-bind'
import { makeAutoObservable } from 'mobx'

export class HelloWorldService {
	count = 1
	public constructor() {
		autoBind(this)
		makeAutoObservable(this)
	}
	increase() {
		this.count++
	}
	decrease() {
		this.count--
	}
}

export const HelloWord = new HelloWorldService()
